package com.wicket.okrapp.biz.service.dto.common;

import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;

/**
 * @desc WorkTaskMgtScreenConditionDto
 * @使用场景
 */
@Data
public class WorkTaskMgtScreenConditionDto
  extends BaseDto
  implements Serializable {

  /**
   * 工作任务管理筛选项标识
   */
  @ApiModelProperty("工作任务管理筛选项标识")
  private String workTaskMgtScreenItemCode;

  /**
   * 工作任务管理筛选项名称
   */
  @ApiModelProperty("工作任务管理筛选项名称")
  private String workTaskMgtScreenItemName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      WorkTaskMgtScreenConditionDto that = (WorkTaskMgtScreenConditionDto) o;
      return  workTaskMgtScreenItemCode == that.workTaskMgtScreenItemCode&&workTaskMgtScreenItemName == that.workTaskMgtScreenItemName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), workTaskMgtScreenItemCode,workTaskMgtScreenItemName);
    }

}
